Platform Core .NET Assemblies API
SetupManager(Func<String>,IResourceManager) Method
See Also  Send Feedback
Terrasoft.TestFramework Namespace > TestResourceManagerProvider Class > SetupManager Method : SetupManager(Func<String>,IResourceManager) Method
managerNameFunc
Function that returns manager name, used to support NSubstitute.Arg.Is``1(``0) like expressions.
manager
The manager instance. If it's not defined, NSubstitute.Substitute.For``1(System.Object[]) will be used to create new one.

Glossary Item Box

Setups Terrasoft.Common.GeneralResourceStorage to provide the resource manager.

Syntax

 
C#
 
 

Parameters

managerNameFunc
Function that returns manager name, used to support NSubstitute.Arg.Is``1(``0) like expressions.
manager
The manager instance. If it's not defined, NSubstitute.Substitute.For``1(System.Object[]) will be used to create new one.

Return Value

Resource manager.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© Terrasoft 2002-2018.